import StartView from '../views/pages/StartView.vue'
import Tabbar from '../views/pages/Tabbar.vue'
import HomeView from '../views/pages/HomeView.vue'
import ClassifyView from '../views/pages/ClassifyView.vue'
import SearchView from '../views/pages/SearchView.vue'
import ShopList from '../views/pages/ShopList.vue'
import ShopDetail from '../views/pages/ShopDetail.vue'
import AddShopCar from '../views/pages/AddShopCar.vue'
import ShopCar from '../views/pages/ShopCar.vue'
import LoginPay from '../views/pages/LoginPay.vue'
import PublishView from '../views/pages/PublishView.vue'

export default [
	{
		path: '/',
		component:StartView,
		name: 'start',
		meta: {
			title: '起步'
		}
	},
	{
		path: '/tabbar',
		component:Tabbar,
		name: 'tabbar',
		meta: {
			title: 'Tabbar'
		}
	},
	{
		path: '/home',
		component:HomeView,
		name: 'home',
		meta: {
			title: '首页'
		}
	},
	{
		path: '/classify',
		component:ClassifyView,
		name: 'classify',
		meta: {
			title: '分类'
		}
	},
	{
		path: '/search',
		component:SearchView,
		name: 'searchView',
		meta: {
			title: '搜索'
		}
	},
	{
		path: '/shopList',
		component:ShopList,
		name: 'shopList',
		meta: {
			title: '商品列表'
		}
	},
	{
		path: '/shopDetail',
		component:ShopDetail,
		name: 'shopDetail',
		meta: {
			title: '商品详情'
		}
	},
	{
		path: '/addShopCar',
		component:AddShopCar,
		name: 'addShopCar',
		meta: {
			title: '加入购物车'
		}
	},
	{
		path: '/shopCar',
		component:ShopCar,
		name: 'shopCar',
		meta: {
			title: '购物车'
		}
	},
	{
		path: '/loginPay',
		component:LoginPay,
		name: 'loginPay',
		meta: {
			title: '登录与支付'
		}
	},
	{
		path: '/publishView',
		component:PublishView,
		name: 'publishView',
		meta: {
			title: '发布'
		}
	}
]
